package com.koron.operation.classes.form.bean.dto;

import com.koron.operation.classes.form.bean.po.ClassesFormRank;
import com.koron.operation.classes.form.bean.po.ClassesFormUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author jzp
 * @since 2023/7/19
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@ApiModel(value = "职级信息", description = "ClassesFormRankDTO")
public class ClassesFormRankDTO extends ClassesFormRank {

    public ClassesFormRankDTO(String rankId, String rankName, String rankPinyin, List<ClassesFormUser> users) {
        super(rankId, rankName, rankPinyin);
        this.users = users;
    }

    @ApiModelProperty("users")
    private List<ClassesFormUser> users;

}
